'Declaration Public Overloads Function PrintDialog( _ ByVal printerSettings As System.Drawing.Printing.PrinterSettings, _ ByVal selectedPageNumbers() As System.Integer, _ ByVal showProgress As System.Boolean _ ) As System.Boolean
public System.bool PrintDialog( System.Drawing.Printing.PrinterSettings printerSettings, System.int[] selectedPageNumbers, System.bool showProgress )
Parameters
- printerSettings
- The printer settings to use.
- selectedPageNumbers
- The list of selected page numbers. If this parameter is not null, selection option is enabled in the dialog.
- showProgress
- Indicates whether to show print progress.
Return Value
true if the document was printed, false otherwise.